package com.piggy.logi.sys.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.web.domain.BaseTenantEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


/**
 * 项目收发货线路管理编辑对象 logi_project_ship_line
 *
 * @author piggy
 * @date 2023-08-18
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("项目收发货线路管理编辑对象")
public class LogiProjectShipLineEditBo extends BaseTenantEntity {


    /** 主键 */
    @ApiModelProperty("主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 项目id */
    @ApiModelProperty("项目id")
    @NotNull(message = "项目id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long projectId;

    /** 收货方客户id */
    @ApiModelProperty("收货方客户id")
    @NotNull(message = "收货方客户id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long recvCustomerId;

    /** 发货方客户id */
    @ApiModelProperty("发货方客户id")
    @NotNull(message = "发货方客户id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long sendCustomerId;

    /** 收货方地址 */
    @ApiModelProperty("收货方地址")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long recvBookId;

    /** 发货方地址 */
    @ApiModelProperty("发货方地址")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long sendBookId;

    /** 价格方案 */
    @ApiModelProperty("价格方案ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long pricePlanId;
}
